<template>
  <div class="box">
    <div class="box-b1">b1</div>
  </div>
  <div class="box2">
    <div class="box-b1">b2</div>
  </div>
  <Row>
    <!-- <img src="../../images/1.jpg" alt="" />
    <img src="@/images/1.jpg" alt="" /> -->
    <div class="img globalCss otherGlobalCss"></div>
    <Button type="default" @click="add">操作</Button>
  </Row>
</template>
<script>
export default {
  name: '251106',
  data() {
    return {}
  },
  methods: {
    add() {
      console.log(`helloworld`)
    }
  },
  mounted() {
    this.add()
  }
}
</script>

<style lang="scss" scoped>
.box {
  width: 100px;
  height: 100px;
  border: 1px solid #000;
  &-b1 {
    color: red;
  }
}
.box3 {
  .box {
    &-b1 {
      color: green;
    }
  }
  .box3 {
    &-b1 {
      color: grey;
    }
  }
}
.img {
  background: url('@/images/1.jpg');
}
</style>
